// MainFrm.h : interface of the CMainFrame class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_MAINFRM_H__C274DB9C_AFC0_4640_96CA_88D51AAF3587__INCLUDED_)
#define AFX_MAINFRM_H__C274DB9C_AFC0_4640_96CA_88D51AAF3587__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class CMainFrame : public CBCGPMDIFrameWnd
{
	DECLARE_DYNAMIC(CMainFrame)
public:
	CMainFrame();

// Attributes
public:

// Operations
public:
	void SetMenu(CMenu* pMenu);
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMainFrame)
	public:
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	virtual BOOL OnCmdMsg(UINT nID, int nCode, void* pExtra, AFX_CMDHANDLERINFO* pHandlerInfo);
	protected:
	virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam);
	virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CMainFrame();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:  // control bar embedded members	
	CBCGPMenuBar    m_wndMenuBar;

	CToolBar    m_wndToolBar;
	//CBCGPToolBar m_wndToolBar;

	//CStatusBar  m_wndStatusBar;
	CBCGPStatusBar m_wndStatusBar;

// Generated message map functions
protected:
	//{{AFX_MSG(CMainFrame)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnEditRun();
	afx_msg void OnEditZoomIn();
	afx_msg void OnEditZoomOut();
	afx_msg void OnEditStop();
	afx_msg void OnEditSystemInfo();
	afx_msg void OnEditZoomReset();
	afx_msg void OnEditContactSetting();
	afx_msg void OnToolSendDataToMobile();
	afx_msg void OnViewMap();
	afx_msg void OnViewSystemInfo();
	afx_msg void OnHelpHelp();
	afx_msg void OnPaint();
	afx_msg void OnCreateNewStation();
	afx_msg void OnFileOpen();
	afx_msg void OnFileNew();
	afx_msg void OnAppLook();
	afx_msg void OnViewCustomize();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_MAINFRM_H__C274DB9C_AFC0_4640_96CA_88D51AAF3587__INCLUDED_)
